<template>
    <div class="whiteBg">
        <div v-title>详情</div>
        <div class="MarginWidth">
            <div class="ModelTitle">{{datas.Name}}</div>
            <div v-html="datas.Infor" class="paddingWith"></div>
        </div>

    </div>
</template>
<script>
import api from '../fetch/api.js'
export default {
    data() {
        return {
            datas: '',
        }
    },
    created() {
        this.NoticeModel()
    },
    methods: {
        NoticeModel() {
            api.Post('Banner/CarouselBanner/GetModel', { ID: this.$route.params.id }).then(res => {
                this.datas = res
            })
        }
    }
}
</script>
<style scoped>
.whiteBg {
    background: #fff;
}

.whiteBg .MarginWidth {
    width: 94%;
    margin: 0 auto;
    padding: 10px;
}

.whiteBg .MarginWidth .ModelTitle {
    line-height: 36px;
    color: #333;
    font-size: 18px;
}

.whiteBg .MarginWidth {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}

.whiteBg .MarginWidth .paddingWith {
    font-size: 14px;
    color: #333
}

.whiteBg .MarginWidth .paddingWith img {
    width: 100% !important;
}
</style>